<?phprequire_once dirname(__FILE__).'/includes/test-connexion.php';require_once dirname(__FILE__).'/includes/config.php'; $id = $_GET['id'];if($_SESSION['pseudo'] != '')$pseudo = $_SESSION['pseudo'];elseif($_COOKIE['pseudo'] != '')$pseudo = $_COOKIE['pseudo'];if(mysql_query('DELETE FROM newsletter_abonnes WHERE id="'.$id.'" AND newsletter="'.$pseudo.'"'))header("Location: abonnes.html");